package com.nanyang.tms.manager.company;

import com.nanyang.common.core.page.PageBean;
import com.nanyang.tms.domain.company.CompanyRechargeDO;
import com.nanyang.tms.domain.company.CompanyRechargeQuery;
import com.nanyang.tms.domain.company.CompanyRechargeVO;

import java.util.Map;

public interface CompanyRechargeManager {
    /**
     * 列表
     * @param query
     * @return
     */
    PageBean<CompanyRechargeVO> listCompanyRecharge(CompanyRechargeQuery query);

    /**
     * 充值
     * @param companyRechargeDO
     */
    CompanyRechargeVO save(CompanyRechargeDO companyRechargeDO);

    /**
     * 查询订单状态
     * @param orderCode
     * @return
     */
    Integer queryOrderState(String orderCode);

    void scanAliPayCallBack(Map<String, String> alipayRequest);
}
